﻿using System;
using System.Collections.Generic;

namespace ABCat.Core.Plugins.DataSets
{
	public interface IAudioBookSet : IObjectSet<IAudioBook>
	{
		IEnumerable<IAudioBook> GetRecordsUpdatedBefore(DateTime lastUpdate);
		IEnumerable<IAudioBook> GetRecordsAll();
		IAudioBook CreateRecord();
		void AddRecord(IAudioBook record);
		void AddChangedRecords(params IAudioBook[] audioBooks);
		IEnumerable<IAudioBook> GetRecordsByKeys(HashSet<string> recordsKeys);
		IEnumerable<IAudioBook> GetRecordsByGroup(string linkedObjectString);
		void SaveAudioBooks();
		//HashSet<string> GetAllAuthors();
		void Import(string dbFilePath);
	}
}